<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>入魔入佛</title>
  <link rel="shortcut icon" href="favicon.png"/>
  <script src="/tinymce/js/tinymce/tinymce.min.js"></script>
  <script>
    // PUBLIC CONFIG
    (function () {
      const config_data_str = localStorage.getItem('APP_CONFIG')
      let config_data = {
        token: 'A4B7C15C-FCEE-41EF-8E2D-16442D0F72E8',
        api: {
          url: [{
            name: '开发环境',
            url: 'http://127.0.0.1:8000',
            active: true
          }],
          error_message: '网络请求发生错误',
          error_code: [100002, 100003],
          success_code: 200
        },
        title: document.title,
        app_theme: '#1c8eee',
        version: `${document.title} 14.0.1 [入魔入佛]`
      }
      window.CONFIG_RESET_DATA = JSON.parse(JSON.stringify(config_data))
      if (!!config_data_str) config_data.api = JSON.parse(config_data_str).api
      localStorage.setItem('APP_CONFIG', JSON.stringify(config_data))
    })()
    // PUBLIC CONFIG END
  </script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
